import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import iview from 'iview'
import axios from 'axios'
// 本地数据
import api from './api/api'
// 公共方法
import shiftyRouter from './utils/shiftyRouter'
// iview组件的css文件
import 'iview/dist/styles/iview.css'
// 页面css文件
import '././assets/css/init.css'
import './assets/css/global.css'
import './assets/css/life.css'
import './assets/css/card.css'
import './assets/css/business.css'

Vue.config.productionTip = false
Vue.use(iview)
Vue.prototype.api = api
Vue.prototype.$axios = axios
Vue.prototype.shiftyRouter = shiftyRouter
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
